Skip to content

Add threat model and promote GH advisories usage - #4

Merged
NathanWalker merged 2 commits into
NativeScript:masterfrom
UlisesGascon:threat-model-and-reporting
Nov 23, 2026
Merged

NathanWalker merged 2 commits into
NativeScript:masterfrom
UlisesGascon:threat-model-and-reporting

Conversation

@UlisesGascon

Copy link
Copy Markdown
Contributor

Main Changes

  • Added a threat model for reporters, developers and maintainers
  • Promote the use of GitHub Advisories as the primary tool for reporting

As discussed in Slack... this is just an initial version. All feedback is welcome!

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bc6dfad2-7be7-4c7f-8f75-0eddc5d20053

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@UlisesGascon

Copy link
Copy Markdown
Contributor Author

Friendly ping @NathanWalker :)

@NathanWalker
NathanWalker self-requested a review November 10, 2026 17:34
@NathanWalker NathanWalker self-assigned this Nov 10, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

✅ All contributors on this pull request have satisfied the NativeScript CLA.

@NathanWalker

Copy link
Copy Markdown
Contributor

Thanks so much for putting this together @UlisesGascon — this is a really strong foundation!

I pushed a small follow-up commit (dc41364) to align a few details with NativeScript's current setup:

  • Added a fallback link to NativeScript/NativeScript advisories when a reporter isn't sure which org repo is affected.
  • Included @nativescript/webpack and @nativescript/vite (alongside the CLI, LiveSync/HMR dev servers, and debug builds) as dev-time tooling inheriting the Node.js threat model.
  • Updated supported platforms (Android, iOS, macOS, visionOS) and JS engines (V8, JavaScriptCore, Hermes, QuickJS).
  • Tightened security.remoteModuleAllowlist wording to match ISecurityConfig, clarified the WebView wrapper vs engine boundary, and added concrete plugin examples (@nativescript/zip, @nativescript/secure-storage).
  • Noted that automated scanner / npm audit findings without a demonstrated, reachable exploit in a published package (e.g. workspace-only devDependencies) and unsupported/archived versions are out of scope.

Once you've commented to sign the new org-wide CLA above — and if these refinements look good to you — we're ready to approve and get this merged!

@UlisesGascon

Copy link
Copy Markdown
Contributor Author

I have read the CLA and I hereby sign the CLA

@github-actions

Copy link
Copy Markdown

Thanks @UlisesGascon — your signature on this PR satisfies the CLA check, and you'll be recorded on the cla-signatures branch after this PR merges. The CLA check will re-run.

@NathanWalker
NathanWalker merged commit 4e0c2ed into NativeScript:master Nov 23, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants